package com.drawnblue.jenkintest.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    Logger logger = LoggerFactory.getLogger(this.getClass());
    @GetMapping("/jenkins")
    public String testJenkins(){
        logger.info("进入测试~~~~");
        return "hello world,welcome shenzhen!";
    }
}

